from dataclasses import dataclass, field
from typing import List

from api.charts.ChartGenerate import ChartGenerate
from basic.entiys.charts.BaseCharts import BaseCharts


@dataclass
class EventEntiys:
    self: BaseCharts = field(default_factory=lambda: ChartGenerate.getCharacter_name("空角色"))  # 操作该事件的角色
    involver: BaseCharts = field(default_factory=lambda: ChartGenerate.getCharacter_name("空角色"))  # 被操作的角色
    anther: List = field(default_factory=lambda: [])  # 参与的其他角色
    power: str = field(default="")  # 发生的势力
    involver_power: str = field(default="")  # 被操作的势力
    selfposister: str = field(default="")
    argument: dict = field(default_factory=dict)
